package cn.flant.db.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.flant.db.hdle.key.NullPrimaryKeyGenerator;
import cn.flant.db.hdle.key.PrimaryKeyGenerator;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface PK {
	public Class<? extends PrimaryKeyGenerator> generator() default NullPrimaryKeyGenerator.class;
}
